<template>
    <div id="cc-edit">
        <div style="position: sticky;top:0;z-index: 9999;background: #fff;">
            <div style="display: flex;flex-direction: row;height: 40px;">
                <div
                        style="display: flex;justify-content: center;align-items: center;width: 25vw;
                        font-family: PingFangSC-Regular;font-size: 14px;"
                        :style="{borderBottom:activeStep==index?'2px solid #454592':'1px solid #ddd',color:activeStep==index?'#454592':'#333'}"
                        v-for="(item,index) in ['基本','疾病','合病症','治疗']"
                        @click="privilegeHeadClick('edit-anchor-'+index)">
                    <span>
                      {{item}}
                    </span>
                </div>
            </div>
        </div>
        <div class="wrapper">
            <!--基本信息-->
            <div id="edit-anchor-0" class="privilege-wrap-edit">
                <!--标题-->
                <div class="title">
                    <div class="title_block"></div>
                    <div class="title_text">
                        基本信息
                    </div>
                </div>
                <!--field-->
                <div class="field_item">
                    <div class="field_title">
                        年龄
                    </div>
                    <div>
                        <Field v-model="form.tabBasic.B02" type="number"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        体重
                    </div>
                    <div>
                        <Field v-model="form.tabBasic.B04" type="number"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        性别
                    </div>
                    <div>
                        <Cell is-link :title="form.tabBasic.B03" @click="genderShow=true"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        治疗方案
                    </div>
                    <div>
                        <Cell is-link :title="form.tabBasic.B08" @click="B08Show=true"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        病程（年）
                    </div>
                    <div>
                        <Cell is-link :title="form.tabBasic.B06" @click="B06Show=true"/>
                    </div>
                </div>

            </div>
            <Overlay :show="genderShow">
                <RadioList :fullList="genderOptions" :checked="form.tabBasic.B03" @confirm="genderConfirm"
                           @cancel="genderShow=false"/>
            </Overlay>
            <Overlay :show="B08Show">
                <RadioList :fullList="B08Options" :checked="form.tabBasic.B08" @confirm="B08Confirm"
                           @cancel="B08Show=false"/>
            </Overlay>
            <Overlay :show="B06Show">
                <RadioList :fullList="B06Options" :checked="form.tabBasic.B06" @confirm="B06Confirm"
                           @cancel="B06Show=false"/>
            </Overlay>

            <!--基本信息-->
            <!--疾病信息-->
            <div class="mt20 privilege-wrap-edit" id="edit-anchor-1">
                <!--标题-->
                <div class="title">
                    <div class="title_block"></div>
                    <div class="title_text">
                        疾病信息
                    </div>
                </div>
                <!--field-->

                <div class="field_item">
                    <div class="field_title">
                        心率（次/分钟）
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D13" @click="heartRateShow=true"/>
                    </div>
                </div>

                <div class="field_item">
                    <div class="field_title">
                        D-2聚体（mg/L）
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D32" @click="D32Show=true"/>
                    </div>
                </div>
                <!--<div class="field_item">-->
                <!--<div class="field_title">-->
                <!--心电图(多选)-->
                <!--</div>-->
                <!--<div>-->
                <!--<Cell is-link :title="form.tabDisease.D15.join(',')" @click="electrocardiogramShow=true"/>-->
                <!--</div>-->
                <!--</div>-->
                <div class="field_item">
                    <div class="field_title">
                        凝血酶原时间
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D33" @click="D33Show=true"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        活化部分凝血酶原时间
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D34" @click="D34Show=true"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        纤维蛋白原（g/L）
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D39" @click="D39Show=true"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        纤维蛋白降解产物(mg/L)
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D40" @click="D40Show=true"/>
                    </div>
                </div>

                <div class="field_item">
                    <div class="field_title">
                        Caprini评分
                    </div>
                    <div>
                        <Field v-model="form.tabDisease.D41" type="number"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        Padua评分
                    </div>
                    <div>
                        <Field v-model="form.tabDisease.D42" type="number"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        肌酐清除率（ml/min）
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D19" @click="D19Show=true"/>
                    </div>
                </div>
                <div class="field_item">
                    <div class="field_title">
                        血肌酐mg/dL （mol/L）
                    </div>
                    <div>
                        <Cell is-link :title="form.tabDisease.D18" @click="serumCreatinineShow=true"/>
                    </div>
                </div>


            </div>

            <Overlay :show="heartRateShow">
                <RadioList :fullList="heartRateOptions" :checked="form.tabDisease.D13" @confirm="heartRateConfirm"
                           @cancel="heartRateShow=false"/>
            </Overlay>
            <Overlay :show="D32Show">
                <RadioList :fullList="D32Options" :checked="form.tabDisease.D32" @confirm="D32Confirm"
                           @cancel="D32Show=false"/>
            </Overlay>
            <Overlay :show="D33Show">
                <RadioList :fullList="D33Options" :checked="form.tabDisease.D33" @confirm="D33Confirm"
                           @cancel="D33Show=false"/>
            </Overlay>
            <Overlay :show="D34Show">
                <RadioList :fullList="D33Options" :checked="form.tabDisease.D34" @confirm="D34Confirm"
                           @cancel="D34Show=false"/>
            </Overlay>
            <Overlay :show="D39Show">
                <RadioList :fullList="D39Options" :checked="form.tabDisease.D39" @confirm="D39Confirm"
                           @cancel="D39Show=false"/>
            </Overlay>
            <Overlay :show="D40Show">
                <RadioList :fullList="D40Options" :checked="form.tabDisease.D40" @confirm="D40Confirm"
                           @cancel="D40Show=false"/>
            </Overlay>
            <Overlay :show="serumCreatinineShow">
                <RadioList :fullList="serumCreatinineOptions" :checked="form.tabDisease.D18" @confirm="serumCreatinineConfirm"
                           @cancel="serumCreatinineShow=false"/>
            </Overlay>
            <Overlay :show="D19Show">
                <RadioList :fullList="D19Options" :checked="form.tabDisease.D19" @confirm="D19Confirm"
                           @cancel="D19Show=false"/>
            </Overlay>
            <!--疾病信息-->
            <!--合并症信息-->
            <div class="mt20 privilege-wrap-edit" id="edit-anchor-2">
                <!--标题-->
                <div class="title">
                    <div class="title_block"></div>
                    <div class="title_text">
                        合并症信息
                    </div>
                </div>
                <!--field-->

                <div class="field_item">
                    <div class="field_title">
                        伴发疾病及既往史(多选)
                    </div>
                    <div>
                        <Cell is-link :title="form.tabComplication.C15.join(',')" @click="diseaseHistoryShow=true"/>
                    </div>
                </div>

                <div v-if="form.tabComplication.C15.includes('高血压')">
                    <div class="title_sub">
                        高血压
                    </div>
                    <div class="field_item">
                        <div class="field_title">
                            舒张压(mmHg)
                        </div>
                        <div>
                            <Field v-model="form.tabComplication.C14" type="number"/>
                        </div>
                    </div>
                    <div class="field_item">
                        <div class="field_title">
                            收缩压(mmHg)
                        </div>
                        <div>
                            <Field v-model="form.tabComplication.C13" type="number"/>
                        </div>
                    </div>
                </div>

                <div v-if="form.tabComplication.C15.includes('糖尿病')">
                    <div class="title_sub">
                        糖尿病
                    </div>
                    <div class="field_item">
                        <div class="field_title">
                            当前治疗方案
                        </div>
                        <div>
                            <Cell is-link :title="form.tabComplication.C01"
                                  @click="currentTherapeuticShow=true"/>
                        </div>
                    </div>
                    <div class="field_item" v-if="form.tabComplication.C01 == '仅OAD'">
                        <div class="field_title">
                            仅二甲双胍控制
                        </div>
                        <div>
                            <Cell is-link :title="form.tabComplication.C02"
                                  @click="metformincontrolShow=true"/>
                        </div>
                    </div>
                    <div class="field_item">
                        <div class="field_title">
                            空腹血糖(mmol/L)
                        </div>
                        <div>
                            <Field v-model="form.tabComplication.C10" type="number"/>
                        </div>
                    </div>
                    <div class="field_item">
                        <div class="field_title">
                            餐后血糖(mmol/L)
                        </div>
                        <div>
                            <Field v-model="form.tabComplication.C11" type="number"/>
                        </div>
                    </div>
                    <div class="field_item">
                        <div class="field_title">
                            糖化血红蛋白(%)
                        </div>
                        <div>
                            <Field v-model="form.tabComplication.C12" type="number"/>
                        </div>
                    </div>
                </div>
            </div>
            <Overlay :show="diseaseHistoryShow">
                <CheckboxList :fullList="diseaseHistoryOptions" :checked="form.tabComplication.C15"
                              @confirm="diseaseHistoryconfirm" @cancel="diseaseHistoryShow = false"/>
            </Overlay>
            <Overlay :show="currentTherapeuticShow">
                <RadioList :fullList="currentTherapeuticOption" :checked="form.tabComplication.C01" @confirm="currentTherapeuticConfirm"
                           @cancel="currentTherapeuticShow=false"/>
            </Overlay>
            <Overlay :show="metformincontrolShow">
                <RadioList :fullList="metformincontrolOptions" :checked="form.tabComplication.C02" @confirm="metformincontrolConfirm"
                           @cancel="metformincontrolShow=false"/>
            </Overlay>
            <!--合并症信息-->
            <!--治疗信息-->
            <div class="mt20 privilege-wrap-edit" id="edit-anchor-3">
                <!--标题-->
                <div class="title">
                    <div class="title_block"></div>
                    <div class="title_text">
                        治疗信息
                    </div>
                </div>
                <!--field-->

                <div class="field_item">
                    <div class="field_title">
                        克赛VTE预防用法用量
                    </div>
                    <div>
                        <Cell is-link :title="form.treatment.T06" @click="T06Show=true"/>
                    </div>
                </div>

                <div class="field_item">
                    <div class="field_title">
                        建议克赛®用药时间（天）
                    </div>
                    <div>
                        <Cell is-link :title="form.treatment.T08" @click="T08Show=true"/>
                    </div>
                </div>

            </div>
            <Overlay :show="T06Show">
                <RadioList :fullList="T06Options" :checked="form.treatment.T06" @confirm="T06Confirm"
                           @cancel="T06Show=false"/>
            </Overlay>
            <Overlay :show="T08Show">
                <RadioList :fullList="T08Options" :checked="form.treatment.T08" @confirm="T08Confirm"
                           @cancel="T08Show=false"/>
            </Overlay>

            <!--治疗信息-->
            <!--保存按钮-->
            <div class="submit">
                <div class="submit_btn" @click="save">
                    保存
                </div>
            </div>
            <div class="submit_btn2" @click="submit">
                提交
            </div>
        </div>
        <div>
            <img :src="cloud_img" style="width: 100%"/>
        </div>
    </div>

</template>

<script>
    import {
        Field,
        Cell,
        CellGroup,
        Popup,
        Picker,
        Toast,
        Overlay,
        Checkbox,
        CheckboxGroup
    } from 'vant';
    import cloud_img from '@assets/image/cloud.svg'
    import RadioList from "@components/snfRadioList/index"
    import CheckboxList from "@components/snfCheckboxList/index"
    const genderOptions = ['男', '女']
    const B08Options = ['外科VTE预防', '内科VTE预防','DVT/PE治疗','其他']
    const B06Options = ['新诊断或小于半年', '0.5-2（不包括2年）','2-5（不包括5年）','5-8（不包括8年）','≥8']

    const heartRateOptions = ['<50', '50-69','70-89','90-109','110-149','150-199','≥200']
    const D32Options = ['<5','5-9','≥9']
    // const electrocardiogramOptions = ['ST抬高','ST压低','T波倒置','病理性Q波','无明显变化']
    const D33Options = ['＜11s','11s-13s','≥13s']
    const D34Options = ['＜25s','25-35s','＞35s']
    const D39Options = ['＜1.8','1.8-3.5','＞3.5']
    const D40Options = ['0-5','＞5']
    const serumCreatinineOptions = ['0-0.39 (0-34)','0.40-0.79 (35-70)','0.80-1.19 (71-105)','1.20-1.59 (106-141)','1.60-1.99 (142-176)','2.00-3.99 (177-353)','≥4.0 (≥354)']
    const D19Options = ['≤30','＞30']
    const diseaseHistoryOptions = ['糖尿病', '高血压', '其它', '无']
    const currentTherapeuticOption = ['新诊断/未治疗', '仅OAD', '基础+OAD', '基础追加', '基础餐时', '短期强化', '其他']
    const metformincontrolOptions = ['是', '否']
    const T06Options = ['外科VTE预防：2000Axa IU q24h , 皮下注射','外科VTE预防：4000Axa IU q24h , 皮下注射','内科VTE预防：4000Axa IU q24h , 皮下注射','DVT/PE治疗：150Axa IU/Kg q24h ,皮下注射','DVT/PE治疗：100Axa IU/Kg q12h ,皮下注射']
    const T08Options = ['＜7','7-14','＞14']
    export default {
        name: "add",
        props: {
            editObject: Object,
            tabActive: Number
        },
        components: {
            RadioList,
            CheckboxList,
            Field,
            Cell,
            Popup,
            Picker,
            Toast,
            Overlay,
            Checkbox,
            CheckboxGroup,
            CellGroup
        },
        data() {
            return {
                activeStep: '',
                form: this.editObject,
                genderShow: false,
                B08Show:false,
                B06Show: false,

                heartRateShow: false,
                D32Show:false,
                // electrocardiogramShow : false,
                D33Show : false,
                D34Show :false,
                D39Show :false,
                D40Show :false,
                serumCreatinineShow: false,
                D19Show : false,
                diseaseHistoryShow: false,
                currentTherapeuticShow: false,
                metformincontrolShow: false,
                T06Show : false,
                T08Show : false,
                genderOptions: genderOptions,
                B08Options: B08Options,
                B06Options: B06Options,
                heartRateOptions: heartRateOptions,
                D32Options:D32Options,
                // electrocardiogramOptions : electrocardiogramOptions,
                D33Options : D33Options,
                D34Options : D34Options,
                D39Options : D39Options,
                D40Options : D40Options,
                serumCreatinineOptions:serumCreatinineOptions,
                D19Options:D19Options,
                diseaseHistoryOptions: diseaseHistoryOptions,
                currentTherapeuticOption: currentTherapeuticOption,
                metformincontrolOptions: metformincontrolOptions,
                T06Options : T06Options,
                T08Options:T08Options,
                cloud_img:cloud_img
            }
        },
        methods: {
            diseaseHistoryconfirm(value, index) {
                this.form.tabComplication.C15 = value
                this.diseaseHistoryShow = false
            },
            onScroll(e) {
                let scrollItems = document.querySelectorAll(".privilege-wrap-edit");
                for (let i = scrollItems.length - 1; i >= 0; i--) {
                    // 判断滚动条滚动距离是否大于当前滚动项可滚动距离
                    let judge =
                        e.target.scrollTop >=
                        scrollItems[i].offsetTop - scrollItems[0].offsetTop;
                    if (judge) {
                        this.activeStep = i;
                        this.active = this.activeStep
                        break;
                    }
                }
            },
            privilegeHeadClick(anchor, index) {
                this.$nextTick(() => {
                    document.querySelector(`#${anchor}`).scrollIntoView({
                        behavior: "smooth", // 平滑过渡
                        block: "start" // 上边框与视窗顶部平齐。默认值
                    });
                });
            },
            // electrocardiogramtoggle(index){
            //     this.$refs.electrocardiogramtogglecheckboxes[index].toggle();
            // },
            toggle(index) {
                this.$refs.checkboxes[index].toggle();
            },
            genderConfirm(value, index) {
                this.form.tabBasic.B03 = value
                this.genderShow = false
            },
            B08Confirm(value, index) {
                this.form.tabBasic.B08 = value
                this.B08Show = false
            },
            B06Confirm(value, index) {
                this.form.tabBasic.B06 = value
                this.B06Show = false
            },
            heartRateConfirm(value, index) {
                this.form.tabDisease.D13 = value
                this.heartRateShow = false
            },
            D32Confirm(value, index){
                this.form.tabDisease.D32= value
                this.D32Show = false
            },
            // electrocardiogramConfirm(valus,index){
            //     this.form.tabDisease.D15 = value()
            //     this.electrocardiogramShow = false
            // },
            D33Confirm(value,index){
                this.form.tabDisease.D33 = value
                this.D33Show = false
            },
            D34Confirm(value,index){
                this.form.tabDisease.D34 = value
                this.D34Show = false
            },
            D39Confirm(value,index){
                this.form.tabDisease.D39 = value
                this.D39Show = false
            },
            D40Confirm(value,index){
                this.form.tabDisease.D40 = value
                this.D40Show = false
            },
            serumCreatinineConfirm(value,index){
                this.form.tabDisease.D18 = value
                this.serumCreatinineShow = false
            },
            D19Confirm(value,index){
                this.form.tabDisease.D19 = value
                this.D19Show = false
            },
            currentTherapeuticConfirm(value, index) {
                this.form.tabComplication.C01 = value
                this.currentTherapeuticShow = false
            },
            metformincontrolConfirm(value, index) {
                this.form.tabComplication.C02 = value
                this.metformincontrolShow = false
            },
            T06Confirm(value,index){
                this.form.treatment.T06 = value
                this.T06Show = false
            },
            T08Confirm(value,index){
                this.form.treatment.T08 = value
                this.T08Show = false
            },
            saveCheck() {
                if (!this.form.tabBasic.B02) {
                    alert("请输入年龄！")
                    return false
                }
                if (!this.form.tabBasic.B03) {
                    alert("请选择性别！")
                    return false
                }
                if (!this.form.tabBasic.B04) {
                    alert("请输入体重！")
                    return false
                }
                if (!this.form.tabBasic.B06) {
                    alert("请选择病程！")
                    return false
                }
                if (!this.form.tabBasic.B08) {
                    alert("请选择治疗方案！")
                    return false
                }
                if (!this.form.tabDisease.D13) {
                    alert("请选择心率！")
                    return false
                }
                if (!this.form.tabDisease.D18) {
                    alert("请选择血肌酐！")
                    return false
                }
                if (!this.form.tabDisease.D19) {
                    alert("请选择肌酐清除率！")
                    return false
                }
                if (!this.form.tabDisease.D32) {
                    alert("请选择D-2聚体！")
                    return false
                }
                if (!this.form.tabDisease.D33) {
                    alert("请选择凝血酶原时间！")
                    return false
                }
                if (!this.form.tabDisease.D34) {
                    alert("请选择活化部分凝血酶原时间！")
                    return false
                }
                if (!this.form.tabDisease.D39) {
                    alert("请选择纤维蛋白原！")
                    return false
                }
                if (!this.form.tabDisease.D40) {
                    alert("请选择纤维蛋白降解产物！")
                    return false
                }
                if (!this.form.tabDisease.D41) {
                    alert("请输入Caprini评分！")
                    return false
                }
                if (!this.form.tabDisease.D42) {
                    alert("请输入Padua评分！")
                    return false
                }
                if (this.form.tabComplication.C15.length < 1) {
                    alert("请选择伴发疾病及既往史！")
                    return false
                }
                if (this.form.tabComplication.C15.includes('高血压')) {
                    if (!this.form.tabComplication.C14) {
                        alert("请输入舒张压！")
                        return false
                    }
                    if (!this.form.tabComplication.C13) {
                        alert("请输入收缩压！")
                        return false
                    }
                }
                if (this.form.tabComplication.C15.includes('糖尿病')) {
                    if (!this.form.tabComplication.C01) {
                        alert("请选择当前治疗方案！")
                        return false
                    }
                    if (!this.form.tabComplication.C10) {
                        alert("请输入空腹血糖！")
                        return false
                    }
                    if (!this.form.tabComplication.C11) {
                        alert("请输入餐后血糖！")
                        return false
                    }
                    if (!this.form.tabComplication.C12) {
                        alert("请输入糖化血红蛋白！")
                        return false
                    }
                }
                if (this.form.tabComplication.C01 == '仅OAD') {
                    if (!this.form.tabComplication.C02) {
                        alert("请选择仅二甲双胍控制！")
                        return false
                    }
                }

                if (!this.form.treatment.T06) {
                    alert("请选择克赛VTE预防用法用量！")
                    return false
                }
                if (!this.form.treatment.T08) {
                    alert("请选择建议克赛®用药时间！")
                    return false
                }
                return true
            },
            save() {
                this.form.finish = false
                this.$emit('save', Object.assign({}, this.form))
                this.$nextTick(() => {
                    document.querySelector(`#cc-edit`).scrollIntoView({
                        block: "start" // 上边框与视窗顶部平齐。默认值
                    });
                });
                this.$emit('hide')
            },
            submit(){
                this.form.finish = this.saveCheck()
                if(this.form.finish){
                    this.$emit('save', Object.assign({}, this.form))
                    this.$emit('hide')
                }else{
                    return
                }
                this.$emit('save', Object.assign({}, this.form))
                this.$nextTick(() => {
                    document.querySelector(`#cc-edit`).scrollIntoView({
                        block: "start" // 上边框与视窗顶部平齐。默认值
                    });
                });
            }
        },
        watch: {
            tabActive(newval, oldval) {
                console.log(newval)
                this.activeStep = newval
            },
            editObject(newval, oldval) {
                this.form = newval
            },
            'form.tabComplication.C15':{
                handler(newval,oldval){
                    if(!newval.includes('高血压')){
                        this.form.tabComplication.C13 = ''
                        this.form.tabComplication.C14 = ''
                    }
                    if(!newval.includes('糖尿病')){
                        this.form.tabComplication.C01 = ''
                        this.form.tabComplication.C10 = ''
                        this.form.tabComplication.C11 = ''
                        this.form.tabComplication.C12 = ''
                    }
                },
                deep: true,
                immediate: true
            },
            'form.tabComplication.C01':{
                handler(newval,oldval){
                    if(newval != '仅OAD'){
                        this.form.tabComplication.C02 = ''
                    }
                },
                deep: true,
                immediate: true
            }
        }
    }
</script>

<style scoped>
    .wrapper {
        padding: 20px;
    }

    .title {
        display: flex;
        flex-direction: row;
        align-items: center;
        /*margin-bottom: 10px;*/
    }

    .title_block {
        background: #ACB318;
        width: 4px;
        height: 20px;
    }

    .title_text {
        font-family: PingFangSC-Semibold;
        font-size: 16px;
        color: #333333;
        letter-spacing: 0.3px;
        text-align: justify;
        line-height: 24px;
        margin-left: 12px;
    }

    .field_title {
        font-family: PingFangSC-Regular;
        font-size: 12px;
        color: #999999;
        letter-spacing: 0.22px;
        text-align: justify;
        line-height: 16px;
    }

    .field_item {
        margin-top: 10px;
    }

    .title_sub {
        font-family: PingFangSC-Regular;
        font-size: 14px;
        color: #454592;
        letter-spacing: 0.26px;
        text-align: justify;
        margin-top: 20px;
    }

    .submit {
        width: 100%;
        height: 48px;
        display: flex;
        justify-content: center;
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .submit_btn {
        width: 90%;
        height: 48px;
        background: #ACB318;
        border-radius: 2px;
        border-radius: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
    }
    .submit_btn2{
        width: 90%;
        height: 48px;
        background: #454592;
        border-radius: 2px;
        border-radius: 2px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        margin: 0 auto;
    }
    .mt20 {
        margin-top: 20px;
    }

    .van-cell {
        padding: 10px 0px !important;
        border-bottom: 1px solid #ddd;
    }
</style>